home *** CD-ROM | disk | FTP | other *** search
- On Mon, 3 Jun 1996, Anthony Jacques wrote:
-
- > Hmm.. One of the lecturers here (on the compiler design/imp. courses) has
- > a thing about C... He likes picking holes in it...
- >
- > eg. does i+++j (which is valid C) mean:
- > (i++) + j or i + (++j)
-
- It means (i++) + j, of course. Since ANSI C specifically states that it
- uses l to r maximum fill. Which also means that i+++++j is not legal (it
- would be parsed as i++ ++ + j).
-
- Usually, this is the exact same behaviour one gets from a Lex/Yacc
- parser.
-
- Best Regads / Elias (who has done several languages using Lex/Yacc)
-
- --
- Elias Martenson
- elias@omicron.se
-
-